<include file="public@header" />
</head>
<body>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li class="active"><a href="{:url('service_apply/index')}">申请列表</a></li>
		</ul>
        <form class="well form-inline margin-top-20" method="get" action="{:url('service_apply/index')}">
            姓名:
            <input type="text" class="form-control" name="name" style="width: 220px;" value="{:input('request.name/s','')}">
            联系方式:
            <input type="text" class="form-control" name="mobile" style="width: 220px;" value="{:input('request.mobile/s','')}">
            <input type="submit" class="btn btn-primary" value="搜索" />
            <a class="btn btn-danger" href="{:url('service_apply/index')}">清空</a>
        </form>
        <br>
		<table class="table table-hover table-bordered">
			<thead>
				<tr>
					<th width="50">ID</th>
					<th>姓名</th>
					<th>身份证</th>
					<th>性别</th>
					<th>生日</th>
					<th>电话</th>
					<th>介绍</th>
					<th>状态</th>
					<th>申请岗位</th>
					<th>申请时间</th>
					<th width="140">{:lang('ACTIONS')}</th>
				</tr>
			</thead>
			<tbody>
				<foreach name="list" item="vo">
					<tr>
						<td>{$vo.id}</td>
						<td>{$vo.name}</td>
						<td>{$vo.id_card}</td>
						<td>{$vo.sex}</td>
						<td>{$vo.birthday}</td>
						<td>{$vo.mobile}</td>
						<td>{$vo.introduction}</td>
						<td>{$vo.status_text}</td>
						<td>{$vo.position_text}</td>
						<td>{$vo.create_time}</td>
						<td>
							<if $vo.status == 0>
	                        	<a class="btn btn-xs btn-primary js-ajax-dialog-btn" href='{:url("service_apply/pass",array("id"=>$vo["id"]))}'>审核通过</a>
	                        	<a class="btn btn-xs btn-primary js-ajax-dialog-btn" href='{:url("service_apply/nopass",array("id"=>$vo["id"]))}'>审核拒绝</a>
                        	</if>
						</td>
					</tr>
				</foreach>
			</tbody>
		</table>
		<div class="pagination">{$page}</div>
	</div>
	<script src="__STATIC__/js/admin.js"></script>
</body>
</html>